addEvent("onOffset",true)
function setOffsets(element,x,y,z,rx,ry,rz)
	setElementAttachedOffsets(element,x,y,z,rx,ry,rz)
end
addEventHandler("onOffset",root,setOffsets)